package ltu.thole;

import java.util.ArrayList;

import android.app.ListActivity;
import android.os.Bundle;

public class DeviceList extends ListActivity {
	
	//ArrayList<Device> listItems = null;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		//setListAdapter(new ArrayAdapter<Device>(this, android.R.layout.simple_list_item_checked, listItems));
	}
	
	/*
	@Override
	protected void onListItemClick(ListView l, View v, int position, long id) {
		super.onListItemClick(l, v, position, id);
		// Get the item that was clicked
		
		Object o = this.getListAdapter().getItem(position);
		String keyword = o.toString();
		Toast.makeText(this, "You selected: " + keyword, Toast.LENGTH_LONG).show();
		
	}
	*/
	
	public void setData(ArrayList<Device> list) {
		//listItems = list;
	}


}
